package cn.com.huzo.service.trade;

import cn.com.huzo.model.entities.trade.InspectionJournalLinesCertificationHeaderEntity;
import huzofw.service.GenericManager;
import java.util.List;
import java.util.Map;

/**
 * 化检日记账-合格证管理服务对象接口。
 *
 * @author 范学春
 */
public interface InspectionJournalLinesCertificationHeaderManager extends GenericManager<InspectionJournalLinesCertificationHeaderEntity, String> {

    /**
     *
     * @param headerKey
     * @return
     * @throws Exception
     */
    List<InspectionJournalLinesCertificationHeaderEntity> fetchCertificationByHeaderKey(Long headerKey) throws Exception;

    /**
     *
     * @param linesKey
     * @return
     * @throws Exception
     */
    Map<String, Object> fetchContentByLinesKey(String linesKey) throws Exception;

    /**
     * 
     * @param instance
     * @return
     * @throws Exception 
     */
    List<InspectionJournalLinesCertificationHeaderEntity> deleteLines(InspectionJournalLinesCertificationHeaderEntity instance) throws Exception;
}
